/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.exam;

/**
 * <p>Project: javaseapp - Word
 * <p>Powered by webrx On 2021-08-19 09:16:31
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */

public class Word {
    private String name;
    private Integer count;

    public Word() {
    }

    public Word(String name, Integer count) {
        this.name = name;
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Word{" +
                "name='" + name + '\'' +
                ", count=" + count +
                '}';
    }
}
